package com.chain.BrotherExchange.data.model;

import java.text.DecimalFormat;

public class TradingVolume extends BaseResponseModel<TradingVolume.DataBean> {

    public static class DataBean {
        /**
         * day : 706250
         * month : 45706461
         * week : 11206299
         */

        private double day;
        private double month;
        private double week;

        public DataBean() {
        }

        public DataBean(double day, double month, double week) {
            this.day = day;
            this.month = month;
            this.week = week;
        }

        public String getDay() {
            DecimalFormat df = new DecimalFormat("###,###,###,###");
            return df.format(day);
        }

        public void setDay(double day) {
            this.day = day;
        }

        public String getMonth() {
            DecimalFormat df = new DecimalFormat("###,###,###,###");
            return df.format(month);
        }

        public void setMonth(double month) {
            this.month = month;
        }

        public String getWeek() {
            DecimalFormat df = new DecimalFormat("###,###,###,###");
            return df.format(week);
        }

        public void setWeek(double week) {
            this.week = week;
        }
    }
}
